/*
 * kmeans.h
 *
 *  Created on: Dec 13, 2012
 *      Author: filipe mutz
 */

#ifndef __KMEANS_H_
#define __KMEANS_H_

#include "../clustering_config.h"

typedef struct
{
	int num_iteractions;
	int num_max_iteractions;
	double **last_centroids;
	int last_centroids_is_initialized;
}kmeans_config;

void kmeans(clustering_config config, double **points, int *cluster_ids);

#endif /* __KMEANS_H_ */
